<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">


        <div class="layui-inline">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-inline">
                <input type="text" autocomplete="off" name="start_time" class="layui-input" id="start_time" placeholder="">
            </div>
        </div>

        <div class="layui-inline">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-inline">
                <input type="text" autocomplete="off" name="end_time" class="layui-input" id="end_time" placeholder="">
            </div>
        </div>

        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周一</div></li>


        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="monday[name]">
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input type="text" name="monday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>

        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周二</div></li>
        
        

        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="tuesday[name]">
                    
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input autocomplete="off" type="text" name="tuesday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>


        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周三</div></li>
        
        

        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="wednesday[name]">
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input autocomplete="off" type="text" name="wednesday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>


        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周四</div></li>
        
        
        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="thursday[name]">
                    
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input autocomplete="off" type="text" name="thursday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>


        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周五</div></li>
        
        
        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="friday[name]">
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input  autocomplete="off" type="text" name="friday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>

        
        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周六</div></li>
        
        
        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="saturday[name]">
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input autocomplete="off" type="text" name="saturday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>

        
        <li><div style="width:5px;height:12px;background:#00A0E9;display:inline-block;margin-right:10px"></div><div style="display: inline-block;">周日</div></li>
       
        <div class="layui-form-item">
            <label class="layui-form-label">讲师：</label>
            <div class="layui-input-block">
                <select name="sunday[name]">
                    <option value=""></option>
                    {foreach $lecturer as $vo}
                    <option value="{$vo}">{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">直播内容：</label>
            <div class="layui-input-block">
                <input autocomplete="off" type="text" name="sunday[content]" class="layui-input" lay-reqtext="请输入直播内容" placeholder="请输入直播内容" value="">
            </div>
        </div>


        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>
<script>
    //时间选择器

    layui.use('laydate', function(){
        var laydate = layui.laydate;

        laydate.render({
            elem: '#end_time'
            ,type:'time',format: 'HH:mm'
        });
        laydate.render({
            elem: '#start_time'
            ,type:'time',format: 'HH:mm'
        });
    })
    
</script>